import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const routes: AppRouteModule = {
  path: '/test1',
  name: 'MyTest',
  component: LAYOUT,
  redirect: '/test1/index',
  meta: {
    hideChildrenInMenu: true, //没有子级
    icon: 'simple-icons:about-dot-me',
    title: '测试',
    orderNo: 100000,
  },
  children: [
    {
      path: 'index',
      name: 'MyTest1Page',
      component: () => import('/@/views/mytest/test1/index.vue'),
      meta: {
        title: '测试2',
        icon: 'simple-icons:about-dot-me',
        hideMenu: false,
      },
    },
  ],
};

export default routes;
